awilliam@xenbuild.aw [Thu, 6 Jul 2006 14:30:17 +0000 (08:30 -0600)]
[IA64] ia64 softirq clean ups.
This is the counter part of the C/S
10565:
53f552ad404234c457fdd62560c9e8b0ea976674
Xen softirq is only checked only before returning to domain context.
So that it's non-sense to check in_interrupt() and add/sub SOFTIRQ_OFFSET.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
awilliam@xenbuild.aw [Thu, 6 Jul 2006 14:27:04 +0000 (08:27 -0600)]
[IA64] build warning fix
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
awilliam@xenbuild.aw [Thu, 6 Jul 2006 14:18:50 +0000 (08:18 -0600)]
[IA64] Bug fix: DOM0_GETMEMLIST: do not return -EINVAL in case of success!
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
awilliam@xenbuild.aw [Thu, 6 Jul 2006 02:11:37 +0000 (20:11 -0600)]
merge with xen-unstable.hg
kfraser@localhost.localdomain [Wed, 5 Jul 2006 17:48:41 +0000 (18:48 +0100)]
[XEN] Add CPUID hypervisor-info leaves at index 0x40000000.
Currently only a signature leaf is defined ("Xen\0").
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 5 Jul 2006 16:37:08 +0000 (17:37 +0100)]
[XEN] getpagframeinfo field name mfn -> gmfn.
Signed-off-by: Keir Fraser <keir@xensource.com>
awilliam@xenbuild.aw [Wed, 5 Jul 2006 16:23:54 +0000 (10:23 -0600)]
[IA64] rewrite rfi emulation
This approach of emulating rfi is straightforward
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
kfraser@localhost.localdomain [Wed, 5 Jul 2006 16:16:10 +0000 (17:16 +0100)]
[XEN] Hypercall-init dom0_op takes GMFN, not MFN.
Signed-off-by: Steven Smith <sos22@cl.cam.ac.uk>
awilliam@xenbuild.aw [Wed, 5 Jul 2006 16:03:20 +0000 (10:03 -0600)]
[IA64] fix domain_flush_vtlb_all()
It should purge software tlb entry of specified vcpu, not current.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
awilliam@xenbuild.aw [Wed, 5 Jul 2006 15:59:40 +0000 (09:59 -0600)]
[IA64] more tlb flush when vcpu migration between pcpu.
When vcpu is migrated to another pcpu and then it returns to the first
pcpu, VHPT and mTLB must also be flushed.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
awilliam@xenbuild.aw [Wed, 5 Jul 2006 15:28:32 +0000 (09:28 -0600)]
[IA64] Implement and use DOM0_DOMAIN_STEUP.
DOM0_GETMEMLIST now reads ptes and use gpfn.
Domain builder reworked: calls DOMAIN_SETUP, setup start_info page.
SAL data are now in domain memory.
is_vti field added in domain.arch.
Many cleanups (indentation, static, warnings).
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
kfraser@localhost.localdomain [Wed, 5 Jul 2006 13:31:22 +0000 (14:31 +0100)]
[HVM][VMX] More descriptive failed vmentry.
Signed-off-by: Xin Li <xin.b.li@intel.com>
kfraser@localhost.localdomain [Wed, 5 Jul 2006 13:29:57 +0000 (14:29 +0100)]
[MINIOS] Mapping page frames on demand added to the memory management.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
kfraser@localhost.localdomain [Wed, 5 Jul 2006 13:29:13 +0000 (14:29 +0100)]
[MINIOS]Mapping page frames on demand added to the memory management.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
kfraser@localhost.localdomain [Wed, 5 Jul 2006 13:27:27 +0000 (14:27 +0100)]
[XEN] Separate domain creation from vcpu creation.
Creating a domain no longer creates vcpu0 -- that is now
done later.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 5 Jul 2006 10:31:33 +0000 (11:31 +0100)]
[XENMON] This patch removes the magic number "31" for readability.
The number "31" means the idle domain ID.
In detail:
- display the idle domain ID with "Idle" instead of "31"
- write to the file "log-idle.log" instead of "log-dom31.log".
Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
kfraser@localhost.localdomain [Wed, 5 Jul 2006 10:30:12 +0000 (11:30 +0100)]
[HVM] Fix the kernel build failure issue on HVM SMP guests which
are using 2M PSE pages. Now we can do kernel build on:
1) RHEL4 IA32 SMP guest on PAE host.
2) RHEL4 IA32 SMP guest on IA32e host.
3) IA32e SMP guest on IA32e host.
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
kfraser@localhost.localdomain [Wed, 5 Jul 2006 10:27:58 +0000 (11:27 +0100)]
[MINIOS]Events handling cleaned up. The interface extended to provide
void* pointer to handlers.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
kfraser@localhost.localdomain [Wed, 5 Jul 2006 10:27:25 +0000 (11:27 +0100)]
[MINIOS] XenBus tests disabled in MiniOS. Xend bug induced
by write to device/vif/0.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
kfraser@localhost.localdomain [Wed, 5 Jul 2006 10:26:57 +0000 (11:26 +0100)]
[MINIOS] Implement XenBus transactions in MiniOS.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
kfraser@localhost.localdomain [Wed, 5 Jul 2006 10:24:09 +0000 (11:24 +0100)]
[XENTOP] Fix Field attributes and width.
It miss that set the FIELD attribute and width for VBD
information in xentop.c.
Signed-off-by Satoshi UCHIDA <s-uchida@ap.jp.nec.com>
kfraser@localhost.localdomain [Wed, 5 Jul 2006 10:21:19 +0000 (11:21 +0100)]
[HVM][VMX] Move vmcs and I/O bitmap allocation into
vmx_initialise_guest_resources().
Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 5 Jul 2006 09:32:33 +0000 (10:32 +0100)]
Update xen caps to indicate that HVM IA32 PAE guest on PAE host is available.
Signed-off-by: Xin Li <xin.b.li@intel.com>
kfraser@localhost.localdomain [Wed, 5 Jul 2006 09:32:08 +0000 (10:32 +0100)]
[HVM][VMX] expose PSE feature to HVM guests if PAE is turned on in
config file, with this change, RHEL4 IA32 SMP guest can boot.
But because we don't support 4Mbytes PSE pages, so x86_32 HVM guest
can NOT use PSE feature. However user may have "pae=1" in config file,
which causes PSE feature seen by x86_32 HVM guest, and it will then use
4Mbytes PSE pages. In this case, we will have to crash x86_32 HVM.
So when running x86_32 HVM guest, user need pay attention not to have
"pae=1" in config file.
Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
awilliam@xenbuild.aw [Mon, 3 Jul 2006 15:11:49 +0000 (09:11 -0600)]
[IA64] add the definition of __cacheline_aligned and its variants
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
kfraser@dhcp93.uk.xensource.com [Mon, 3 Jul 2006 15:07:20 +0000 (16:07 +0100)]
[HVM] Disable pmtimer in qemu acpi device model. Needs fixing
to not burn ~25% of a 3GHz CPU.
Signed-off-by: Keir Fraser <keir@xensource.com>
awilliam@xenbuild.aw [Mon, 3 Jul 2006 15:01:36 +0000 (09:01 -0600)]
[IA64] fix console_start_sync() undefined warning
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
awilliam@xenbuild.aw [Mon, 3 Jul 2006 14:53:02 +0000 (08:53 -0600)]
[IA64] allow vcpu to move between pcpus
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
awilliam@xenbuild.aw [Mon, 3 Jul 2006 14:35:05 +0000 (08:35 -0600)]
[IA64] sync console before reset
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
awilliam@xenbuild.aw [Mon, 3 Jul 2006 14:33:15 +0000 (08:33 -0600)]
[IA64] A few clean ups in __xen_create/destroy_contiguous_region.
This is the IA64 counter part of the C/S
10563:
a75c1bdfe76146ad591574d805be5be0a3098d2a of xen-unstable.hg
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
awilliam@xenbuild.aw [Mon, 3 Jul 2006 14:29:57 +0000 (08:29 -0600)]
[IA64] Clean up unused functions
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
awilliam@xenbuild.aw [Mon, 3 Jul 2006 14:27:24 +0000 (08:27 -0600)]
[IA64] Emulate PAL_HALT_LIGHT
Use do_block to emulate Guest PAL_HALT_LIGHT,
whenever there is an interrupt for this vcpu,
this vcpu is woken up.
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
awilliam@xenbuild.aw [Mon, 3 Jul 2006 14:15:43 +0000 (08:15 -0600)]
[IA64] update VTI Readme file
Update VTI how-to readme file with physical disk
Signed-off-by: Fred yang <Fred.Yang@intel.com>
awilliam@xenbuild.aw [Mon, 3 Jul 2006 14:12:16 +0000 (08:12 -0600)]
[IA64] privop_stat.c
Cleanup: create privop_stat.[ch]
Move all stats function to privop_stat.c to depolute other files.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
awilliam@xenbuild.aw [Mon, 3 Jul 2006 13:42:17 +0000 (07:42 -0600)]
[IA64] Fix a typo.
Signed-off-by: Zhang xiantao <xiantao.zhang@intel.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 3 Jul 2006 08:07:33 +0000 (09:07 +0100)]
[NET]: Rename feature-tso to feature-gso-tcpv4
This patch renames the name feature-tso to feature-gso-tcpv4 for future
expansion.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
kaf24@firebug.cl.cam.ac.uk [Mon, 3 Jul 2006 08:06:59 +0000 (09:06 +0100)]
[NET] front: Zero negotiated bits in xen_set_features
When we reconnect to the backend we need to first zero all negotiated
bits as the functions xen_set_sg and xen_set_tso do not (and are not
supposed to) zero bits when they fail to set them.
This patch also permanently enables the NETIF_F_GSO_ROBUST bit as we
never parse any GSO fields ourselves (even if we did the backend could
not trust us so it's wasted effort).
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
kaf24@firebug.cl.cam.ac.uk [Mon, 3 Jul 2006 08:05:18 +0000 (09:05 +0100)]
[NET] back: Add GSO features field and check gso_size
This patch adds the as-yet unused GSO features which will contain
protocol-independent bits such as the ECN marker.
It also makes the backend check gso_size to ensure that it is non-zero.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
kaf24@firebug.cl.cam.ac.uk [Mon, 3 Jul 2006 07:57:15 +0000 (08:57 +0100)]
[NET] back: Fix off-by-one error in netbk_tx_err
The generalised extra request info patch introduced a bug with the use
of netbk_tx_err since it advanced the req_cons pointer by one. This
patch fixes thing by delaying the increment in netbk_tx_err.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
kaf24@firebug.cl.cam.ac.uk [Mon, 3 Jul 2006 07:56:29 +0000 (08:56 +0100)]
[BUILD] Miscellaneous build-system fixes and tweaks.
* Don't delete non-existent %.tar.bz2 in buildconfigs/Rules.mk's %-mrproper
* Add a mrpropper target to buildconfigs/mk.linux-2.6-xen, and
have this delete the local tarball
- This should also delete the local patch, if there is one, but I am not
sure how to do this with the current incarntation of the code, and I
will post a subsequent patch which makes this easier and effects this
chang. As there currently is no local patch this is not a big deal at
this moment. (Horms)
* Stop kclean from erroring out if the kernel directory doesn't exist
* Remove patches/*/.makedep in top level Makefile rather than in
buildconfigs/Rules.mk, as calling rules in the latter causes
patches/*/.make to be created (Magnus)
Signed-Off-By: Magnus Damm <magnus@valinux.co.jp>
Signed-Off-By: Horms <horms@verge.net.au>
kaf24@firebug.cl.cam.ac.uk [Mon, 3 Jul 2006 07:55:08 +0000 (08:55 +0100)]
[DOC] Add descriptions on mouse handling and how to use the USB
support that is now in the HVM device model.
Signed-off-by: Don Dugger <donald.d.dugger@intel.com>
kfraser@dhcp93.uk.xensource.com [Mon, 3 Jul 2006 07:52:27 +0000 (08:52 +0100)]
[LINUX] Fix booting with e.g. xencons=tty3, so that tty1/tty2 are valid (dummy) devices.
Attached patch makes it always create valid devices on tty1-tty63, but
all but the one specified by xencons are dummy devices.
From: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 3 Jul 2006 07:35:12 +0000 (08:35 +0100)]
Merge with xen-ia64-unstable.hg
kaf24@firebug.cl.cam.ac.uk [Mon, 3 Jul 2006 07:27:50 +0000 (08:27 +0100)]
[HVM][VMX] Fixes to VMCS create/destroy.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 1 Jul 2006 08:37:24 +0000 (09:37 +0100)]
[LIBXC] Fix the 64-bit build.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 21:23:21 +0000 (22:23 +0100)]
[XEN] Sync Elf parsing with libxc parser.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 21:19:08 +0000 (22:19 +0100)]
Provide more specific and helpful error messages during ELF loading.
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 21:18:01 +0000 (22:18 +0100)]
Allow 32-bit libxc to load 64-bit ELF files.
- use 64-bit integral types for addresses in struct domain_start_info
- use stroull() to parse 64-bit values
- remove redundant _p(a) definition and add a comment
- printf format changes for the new types
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 21:02:58 +0000 (22:02 +0100)]
[XEN] Mark two more opcodes (C6 and C7) as Mov instructions.
From: Mats Petersson <Mats.Petersson@amd.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 21:02:18 +0000 (22:02 +0100)]
[XENBUS] Another simplification -- bus_for_each_dev() better than bus_find_device().
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@dhcp93.uk.xensource.com [Fri, 30 Jun 2006 17:14:57 +0000 (18:14 +0100)]
[XENBUS] Another fix to the wait-for-device-connection code.
The new method for printing unconnected device status is arguably
cleaner and also does not screw up reference counts (previous code
called bus_find_device() with no put_device() on the result.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@dhcp93.uk.xensource.com [Fri, 30 Jun 2006 16:53:52 +0000 (17:53 +0100)]
[XENBUS] Do not wait for devices with no driver to connect.
Signed-off-by: Keir Fraser <keir@xensource.com>
ack@localhost.localdomain [Fri, 30 Jun 2006 16:12:31 +0000 (17:12 +0100)]
Merge
ack@localhost.localdomain [Fri, 30 Jun 2006 16:12:05 +0000 (17:12 +0100)]
Don't modify global active weight when changing weight of inactive domain.
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 16:02:22 +0000 (17:02 +0100)]
[XENBUS] Improve the code for waiting for devices to connect. Provide
a more useful error when devices fail to connect.
From: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 13:41:13 +0000 (14:41 +0100)]
[NET]: Update net-gso.patch. Remove net-tso.patch.
New changeset merged upstream:
[TCP]: Reset gso_segs if packet is dodgy
I wasn't paranoid enough in verifying GSO information. A bogus gso_segs
could upset drivers as much as a bogus header would. Let's reset it in
the per-protocol gso_segment functions.
I didn't verify gso_size because that can be verified by the source of
the dodgy packets.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
kfraser@dhcp93.uk.xensource.com [Fri, 30 Jun 2006 13:30:43 +0000 (14:30 +0100)]
[BLK] back: Only remove sysfs attributes if they were previously
added. Also check for errors during attribute creation.
Signed-off-by: Keir Fraser <keir@xensource.com>
chris@kneesaa.uk.xensource.com [Fri, 30 Jun 2006 13:15:12 +0000 (14:15 +0100)]
Remove use of unlikely -- it's not defined on all systems.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@dhcp93.uk.xensource.com [Fri, 30 Jun 2006 12:33:20 +0000 (13:33 +0100)]
Revert 10521, 10526 and 10527. This completes reversion of ACM modifications to xm.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@dhcp93.uk.xensource.com [Fri, 30 Jun 2006 12:25:43 +0000 (13:25 +0100)]
[XEN] Various softirq cleanups. Main one is to always
call smp_processor_id() after any softirq, as rescheduling
may cause us to move to another processor on ia64
(spotted by Isaku Yamahata). Also get rid of many direct
callers of do_softirq() by creating new function
process_pending_timers().
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@dhcp93.uk.xensource.com [Fri, 30 Jun 2006 09:35:54 +0000 (10:35 +0100)]
[LINUX] Replace pagetable walks by simple address calculation.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@dhcp93.uk.xensource.com [Fri, 30 Jun 2006 09:24:14 +0000 (10:24 +0100)]
[LINUX] A few clean ups and a fix to an error path in xen_create/destroy_contiguous_region.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 09:16:12 +0000 (10:16 +0100)]
[TPM] Adds a script for virtual TPM support.
It also removes a consistency check from the vtpm-common script file.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 09:14:36 +0000 (10:14 +0100)]
[TPM] Update the current virtual TPM documentation in misc/docs/vtpm.txt
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 09:13:17 +0000 (10:13 +0100)]
[HVM][SVM] Don't BUG when VMRUN exitcode==-1, just crash the domain.
If there's any consistency problems in the VMCB, the VMRUN will return
an exitcode of -1 to indicate that the guest-state is "bad". Prior to
this change, it would cause the hypervisor to reboot. This is not at
all necessary - the VMCB may be bad, but the system is most likely
still intact. [In particular, a guest could cause a crash of the
system by setting up PAE with an invalid set of PDPE's, which is
definitely not a desired behaviour]
Now also print out the VMCB, as that MAY help identify the cause of
the exitcode of -1.
Signed-off-by: Mats Petersson <mats.petersson@amd.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 09:10:39 +0000 (10:10 +0100)]
Use explicit accessors to handle unusually-sized atomic operations in grant table code.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 09:07:38 +0000 (10:07 +0100)]
evtchn_do_upcall() has a micro optimization which is depends on that xchg is a barrier.
However xchg of IA64 has acquire semantics so that event
channel notification is lost sometimes. This patch fixes it.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
kfraser@dhcp93.uk.xensource.com [Fri, 30 Jun 2006 09:04:22 +0000 (10:04 +0100)]
[NET]: Remove gso.segs field from netif protocol.
From: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 08:52:04 +0000 (09:52 +0100)]
[NET]: Add net-tso.patch
This patch has been submitted upstream for review. It resets gso_segs for
TSO.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 08:51:02 +0000 (09:51 +0100)]
[XM] Remove unused imports.
From: Kazuo Moriwaka <moriwaka@gmail.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 08:43:08 +0000 (09:43 +0100)]
[BLK] back: Clean up sysfs-interfacing code to use VBD_SHOW macro where possible.
Signed-off-by: Satoshi UCHIDA <s-uchida@ap.jp.nec.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 08:25:42 +0000 (09:25 +0100)]
[XENTOP]Add VBD information.
Display VBD information at xentop.
By put 'x' key, display each VBD information in detail.
Signed-off-by: Satoshi UCHIDA <s-uchida@ap.jp.nec.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 30 Jun 2006 08:20:22 +0000 (09:20 +0100)]
[XENSTAT]Add VBD information structure.
Import VBD information from sysfs.
Signed-off-by: Satoshi UCHIDA <s-uchida@ap.jp.nec.com>
chris@kneesaa.uk.xensource.com [Thu, 29 Jun 2006 19:28:21 +0000 (20:28 +0100)]
Fix build - _XEN_NETIF_EXTRA_FLAG_MORE not _XEN_NETIF_EXTRA_MORE
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@dhcp93.uk.xensource.com [Thu, 29 Jun 2006 18:34:16 +0000 (19:34 +0100)]
[NET] front: Transmit TSO packets if supported
This patch adds TSO transmission support to the frontend.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@dhcp93.uk.xensource.com [Thu, 29 Jun 2006 18:33:53 +0000 (19:33 +0100)]
[NET] back: build fixes.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@dhcp93.uk.xensource.com [Thu, 29 Jun 2006 18:02:45 +0000 (19:02 +0100)]
[NET] More net protocol and GSO changes.
From: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@dhcp93.uk.xensource.com [Thu, 29 Jun 2006 15:59:47 +0000 (16:59 +0100)]
[XEN] Fix the timeout workaround so it doesn't capture negative
diffs relative to current time.
Signed-off-by: Keir Fraser <keir@xensource.com>
shand@kneesaa.uk.xensource.com [Thu, 29 Jun 2006 14:02:38 +0000 (15:02 +0100)]
[LINUX] When ballooning out (returning memory to xen), don't try too hard
to allocate pages - this reduces the chance of the oom killer being invoked.
Signed-off-by: Steven Hand <steven@xensource.com>
ack@localhost.localdomain [Thu, 29 Jun 2006 13:49:41 +0000 (14:49 +0100)]
Merge
ack@localhost.localdomain [Thu, 29 Jun 2006 13:39:07 +0000 (14:39 +0100)]
Replace my previous patch with equivalent fix from linux-2.6.17.
Might as well stay as close to that as we can...
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 29 Jun 2006 13:38:39 +0000 (14:38 +0100)]
Revert 10534 (xm subcommands for ACM). Doesn't work when ACM disabled.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 29 Jun 2006 13:37:32 +0000 (14:37 +0100)]
Define an architecture-specific 'long' type for ABI compatibility.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 29 Jun 2006 13:30:41 +0000 (14:30 +0100)]
Add Xenoprof passive domain support (missing file).
Signed-off-by: Yang Xiaowei <xiaowei.yang@intel.com>
Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 29 Jun 2006 13:25:35 +0000 (14:25 +0100)]
[XM] When two or more domain parameters are given, the xm reboot
command doesn't give a command error. This problem is also
included in the xm shutdown command.
This patch checks on domain parameter. If two or more domain
parameters are given, the command error occurs.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 29 Jun 2006 13:25:07 +0000 (14:25 +0100)]
[XM] Fix argument check of the xm reboot command.
Maximum argument of the xm reboot command is three.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 29 Jun 2006 13:22:56 +0000 (14:22 +0100)]
[XEN] Work around timeout bug in old Linux kernels where
timeout would erroneously be set far out in the future.
Signed-off-by: Keir Fraser <keir@xensource.com>
shand@kneesaa.uk.xensource.com [Thu, 29 Jun 2006 10:31:10 +0000 (11:31 +0100)]
Fail save if we have an out-of-sync P2M/M2P (since otherwise the restore
will fail later).
A better fix would be to tolerate temporary out-of-sync situations so we
can make a nicer fix to the kunmap_atomic() iossue (c/f -unstable csets
10529 & 10533) but this requires some more thought.
Signed-off-by: Steven Hand <steven@xensource.com>
shand@kneesaa.uk.xensource.com [Thu, 29 Jun 2006 10:20:46 +0000 (11:20 +0100)]
Merge.
shand@kneesaa.uk.xensource.com [Thu, 29 Jun 2006 10:17:24 +0000 (11:17 +0100)]
Use a static page for the frame_list in the balloon driver.
Simplifies code and robustifies against oom situations.
Signed-off-by: Steven Hand <steven@xensource.com>
emellor@leeni.uk.xensource.com [Thu, 29 Jun 2006 10:13:11 +0000 (11:13 +0100)]
Replace changesets 10521, 10526, and 10527 with this new version that does not
use xml.marshal.
This patch adds new xm subcommands to support working with resource
labels. The new subcommands are 'xm resources', 'xm rmlabel', 'xm
getlabel' and 'xm dry-run'. In addition, the 'xm addlabel' subcommand
now uses an updated syntax to support labeling both domains and
resources. See the xm man page for details on each subcommand.
Beyond the new subcommands, this patch allows users to immediately see
when security checks will fail by pushing some basic security checking
into the beginning of 'xm create' and 'xm block-attach'. ACM security
attributes for block devices are added to XenStore in order to support
the final security enforcement, which will be performed in the kernel
and included in a separate patch.
Signed-off-by: Bryan D. Payne <bdpayne@us.ibm.com>
Signed-off-by: Reiner Sailer <sailer@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 29 Jun 2006 09:48:07 +0000 (10:48 +0100)]
Fix the kunmap_atomic() change in 10529:
4260eb8c08740de0000081c61a6237ffcb95b2d5.
Mustn't zap the PTE if the virtual address is not in kmap_atomic range!
Signed-off-by: Keir Fraser <keir@xensource.com>
ack@localhost.localdomain [Wed, 28 Jun 2006 20:51:01 +0000 (21:51 +0100)]
Fix next_timer_interrupt() in patch and update caller
to deal with the case of existing pending timers.
Fixes a dom0 hang at boot time on some HPs where some
dubious USB code is invoked from pci_init() that
potentially calls msleep(10) a few times.
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 28 Jun 2006 20:03:25 +0000 (21:03 +0100)]
New /sys/hypervisor/uuid, containing this domain's UUID.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 28 Jun 2006 19:46:01 +0000 (20:46 +0100)]
Use address types in elf parser that match elf headers.
Necessary if a long is a different size to addresses in elf
file being parsed.
From: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@dhcp93.uk.xensource.com [Wed, 28 Jun 2006 17:17:41 +0000 (18:17 +0100)]
kunmap_atomic() must zap the PTE to avoid dangling references
when attempting to free memory back to Xen. We can implement
something more efficient in future.
Also add debug print message if guest tries to free 'in use'
memory. We'll make it a real guest-visible error in future.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@dhcp93.uk.xensource.com [Wed, 28 Jun 2006 16:56:34 +0000 (17:56 +0100)]
[LINUX] Export flush_tlb_page() to modules in i386-smp builds.
Signed-off-by: Keir Fraser <keir@xensource.com>
emellor@leeni.uk.xensource.com [Wed, 28 Jun 2006 16:42:05 +0000 (17:42 +0100)]
More commented-out code, pending a solution to the xml.marshall.generic
problem.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@leeni.uk.xensource.com [Wed, 28 Jun 2006 16:36:38 +0000 (17:36 +0100)]
Comment out the load of the resource label file, pending a solution to the
problem that we now require xml.marshal.generic.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 28 Jun 2006 15:22:38 +0000 (16:22 +0100)]
[TPM] Add 3 more test cases to the xm testsuite that extend the
state of a PCR register and test that the value remains the same during
a suspend/resume cycle and during live and non-live local migration.
The patch adapts existing tests to the changes in the driver (moving of
the sysfs entry). Some problems with existing tests are fixed.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>